package com.yjf.ljr.dataclass;

import com.google.gson.annotations.Expose;
import com.yjf.ljr.parser.DataClass;

public class InvestorsOpenAccountClass extends DataClass {

	@Expose
	public String uploadHost;// 开户传入
	@Expose
	public String token;// 开户传入
	@Expose
	public String availabelBroker;// true:当前经纪人可以开户 false：当前经纪人不能开户
	@Expose
	public String type;// 要开的账户类型

	@Override
	public boolean copy(DataClass valueClass) {
		// TODO Auto-generated method stub
		if (valueClass == null && !(valueClass instanceof InvestorsOpenAccountClass)) {
			return false;
		}

		this.code = ((InvestorsOpenAccountClass) valueClass).code;
		this.msg = ((InvestorsOpenAccountClass) valueClass).msg;
		this.uploadHost = ((InvestorsOpenAccountClass) valueClass).uploadHost;
		this.token = ((InvestorsOpenAccountClass) valueClass).token;
		this.availabelBroker = ((InvestorsOpenAccountClass) valueClass).availabelBroker;
		this.type = ((InvestorsOpenAccountClass) valueClass).type;
		return true;
	}

}
